package com.fastCms.business.bim.plugins.excel;

import java.util.Comparator;

/**
 * 自定义比较器
 * @author Wenbo
 * @date 2021/11/9 下午2:44
 */
public class AnnotationFieldComparator implements Comparator<Annotation> {
    @Override
    public int compare(Annotation o1, Annotation o2) {
        //按照升序排列
        return o1.getSort() - o2.getSort();
    }
}
